home *** CD-ROM | disk | FTP | other *** search
/ Light ROM 2 / LIGHT-ROM 2 (Amiga Library Services)(1995).iso / programs / amiga / brik / src / makefile.in < prev    next >
Makefile  |  1995-03-23  |  1KB  |  51 lines

  1. # Makefile for brik
  2. # ::[[ @(#) makefile.nix 1.2 89/07/08 10:41:32 ]]::
  3.  
  4. # Please see brik.h for configuration options.
  5.  
  6. # Make sure this file is called "makefile" (rename it if necessary).  Then
  7. # type one of the following.
  8. #
  9. # "make bsd", "make sys_v", "make ultrix", "make uport"
  10. #                   -- makes brik in current directory
  11. # "make install"    -- makes brik, then moves it into DESTDIR defined below
  12. # "make clean"      -- deletes "core", objects, and executable
  13.  
  14. #### Start of system configuration section. ####
  15.  
  16. srcdir = @srcdir@
  17. VPATH = @srcdir@
  18.  
  19. # Common prefix for machine-independent installed files.
  20. prefix = @prefix@
  21.  
  22. # Common prefix for machine-dependent installed files.
  23. exec_prefix = @exec_prefix@
  24.  
  25. bindir = $(exec_prefix)/bin
  26.  
  27. INSTALL = @INSTALL@
  28. INSTALL_DATA = @INSTALL_DATA@
  29.  
  30. CC = @CC@
  31.  
  32. CFLAGS = @CFLAGS@
  33. LDFLAGS = @LDFLAGS@
  34.  
  35. #### End system configuration section ####
  36.  
  37. OBJS =        brik.o initcrc.o addbfcrc.o
  38.  
  39. brik:        $(OBJS)
  40.         $(CC) $(LDFLAGS) -o brik $(OBJS)
  41.  
  42. brik.o:        brik.c brik.h assert.h
  43.  
  44. initcrc.o:    initcrc.c brik.h
  45.  
  46. install:    brik
  47.         $(INSTALL) brik $(bindir)/brik
  48.  
  49. clean:
  50.         rm -f $(OBJS) core brik
  51.